package ihm.views.main.catalog;

import systems.languages.MultiLanguages;

public class CatalogEntry {

  private String name;
  private String level;
  private String quality;
  private String type;
  private String id;
  
  public CatalogEntry(String[] rawData)
  {
    name = rawData[0];
    level = rawData[1];
    quality = MultiLanguages.getProperties("quality."+rawData[2]+".name") ;
    type = rawData[3];
    id = rawData[4];
  }


  /**
   * @return the name
   */
  public String getName() {
    return name;
  }

  /**
   * @return the level
   */
  public String getLevel() {
    return level;
  }

  /**
   * @return the quality
   */
  public String getQuality() {
    return quality;
  }

  /**
   * @return the type
   */
  public String getType() {
    return type;
  }

  /**
   * @return the id
   */
  public String getId() {
    return id;
  }
  
  
}
